package com.show.service;

import com.show.pojo.Trainee;

import java.time.LocalDateTime;
import java.util.List;
import java.util.Map;

/**
 * @author 绛河
 */
public interface TraineeService {
    List<Trainee> searchAll();


    Integer searchBefore(LocalDateTime localDateTime);

    Integer searchByTerm(Integer term);

    List<Map<String, Object>> searchByYear();

    List<Map<String, Object>> searchByMonth(Integer year);

    Integer saveAll(List<Trainee> trainees);

    Integer saveTrainee(Trainee trainee);


}
